package com.yjdb.sanyuantang.common.entity;
import lombok.Data;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import com.fasterxml.jackson.annotation.JsonFormat;
import java.util.Date;
import io.swagger.v3.oas.annotations.media.Schema;


@Data
@TableName("sys_journal")
@Schema(name = "sys_journal")
public class SysJournal implements Serializable {

    /**
    * 日志id
    */
    @TableId(type = IdType.AUTO)
    @Schema(description="日志id")
    private Long id;


    /**
    * 手机号
    */
    @TableField("phone")
    @Schema(description="手机号")
    private String phone;


    /**
    * 昵称
    */
    @TableField("nickname")
    @Schema(description="昵称")
    private String nickname;


    /**
    * 模块名称
    */
    @TableField("module")
    @Schema(description="模块名称")
    private String module;


    /**
    * 功能名称
    */
    @TableField("function")
    @Schema(description="功能名称")
    private String function;


    /**
    * 创建时间
    */
    @TableField("create_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @Schema(description="创建时间")
    private Date createTime;


    /**
    * ip地址
    */
    @TableField("ip")
    @Schema(description="ip地址")
    private String ip;


    /**
    * 描述和结果
    */
    @TableField("description")
    @Schema(description="描述和结果")
    private String description;


    private static final long serialVersionUID = 1L;
}
